package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import org.springframework.web.bind.annotation.RequestBody;


public interface EmployeeService {
    /*    Employee findOne(Employee employee);

        Employee findById(long id);
        boolean updateById(Employee employee);
        boolean addEmployee(Employee employee);*/
    Employee findOne(Employee employee);
    Page<Employee> findEmployeePage(int page, int pageSize,String name);
    void updateById(Employee employee);
    Employee getById(Long id);
    void save(Employee employee);
}
